package com.cn.demo4.service;

import com.cn.demo4.model.CompanyModel;

import java.util.List;

public interface ICompanyService {
//    List<CompanyModel> findAll(CompanyModel companyModel);

    String  add(CompanyModel companyModel);

    CompanyModel findById(Integer id);

    String update(CompanyModel companyModel);

    int del(Integer id);

    CompanyModel getCompanyModelListForHome();

    int getCount(CompanyModel companyModel);

    CompanyModel findAll(CompanyModel companyModel);
}
